import { defineStore } from "pinia"

const startDate = new Date()
const endDate = new Date()
endDate.setDate(startDate.getDate() + 1)
// 存放一些通用的数据
export const useMainStore = defineStore("main", {
  state() {
    return {
      startData: startDate,
      endDate: endDate,
      showLoading: false
    }
  },
})
